package main

import "fmt"

func main() {
	fmt.Println(f1())
}

func f1() int {
	a := 0
	defer func(i int) {
		println("defer i = ", i)
	}(a)
	a++
	return a
}
